﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProgNetDxComponents.ExtenderProviders.Browsers
{
    public enum BrowserColumnType
    {
        TextColumn,
        CheckColumn,
        DateColumn,
        LookupColumn
    }

    public enum BrowserDisplayType
    {
        LookUp,
        ComboLookUp,
        Dialog,
        ConfigSpecified
    }
    public enum BrowserConfigDisplayType
    {
        LookUp,
        ComboLookUp,
        Dialog,
        Auto
    }
    public enum SimpleRecordState
    {
        Unchanged,
        Added,
        Modified
    }
    public enum FilterType
    {
        Equal,
        NotEqual,
        BeginsWith,
        Contains,
        EndsWith,
        In,
        NotIn,
        IsNull,
        IsNotNull,
        Bigger,
        BiggerOrEqual,
        Smaller,
        SmallerOrEqual
    }

    public enum BrowserRefreshDataType
    {
        /// <summary>
        /// Browsers data will be refreshed when BrowserDataGrabberBase.SetLastUpdateTime is called
        /// </summary>
        OnRefresh,
        /// <summary>
        /// Browsers data will be refreshed with every PopUp event
        /// </summary>
        OnPopup,
        /// <summary>
        /// Browsers data will not be refreshed. It will be loaded only when assigning browser
        /// </summary>
        OnLoad
    }
}
